package com.jyw;

import android.app.Application;

import com.jyw.pojo.AllClass;

import java.util.ArrayList;
import java.util.List;

import uk.co.chrisjenx.calligraphy.CalligraphyConfig;

/**
 * @author simonw
 * @version 1.0
 * @created 2016/12/31
 */

public class App extends Application {

    //上衣类
    public static AllClass.Class parent1;
    public static List<AllClass.Class> parent1s = new ArrayList<>();
    //大衣外套
    public static AllClass.Class parent2;
    public static List<AllClass.Class> parent2s = new ArrayList<>();
    //裤装裙装
    public static AllClass.Class parent3;
    public static List<AllClass.Class> parent3s = new ArrayList<>();
    //饰品
    public static AllClass.Class parent4;
    public static List<AllClass.Class> parent4s = new ArrayList<>();
    //家纺
    public static AllClass.Class parent5;
    public static List<AllClass.Class> parent5s = new ArrayList<>();
    //鞋
    public static AllClass.Class parent6;
    public static List<AllClass.Class> parent6s = new ArrayList<>();
    //高端服饰家纺精洗
    public static AllClass.Class parent7;
    public static List<AllClass.Class> parent7s = new ArrayList<>();
    //奢侈品皮具(洗护)
    public static AllClass.Class parent8;
    public static List<AllClass.Class> parent8s = new ArrayList<>();

    @Override
    public void onCreate() {
        super.onCreate();
        CalligraphyConfig.initDefault(new CalligraphyConfig.Builder().
                setDefaultFontPath("fonts/msyh.ttf").
                setFontAttrId(R.attr.fontPath).
                build());
    }
}
